const { DataTypes } = require('sequelize')
const db = require('../db/index')
module.exports = db.define('products', {
    shoperid: DataTypes.INET,
    title: DataTypes.CHAR(255),
    price: DataTypes.DOUBLE,
    lx: DataTypes.INET,
    kw: DataTypes.CHAR(255),
    img: DataTypes.CHAR(255),
    status: {
        type: DataTypes.INET,
        defaultValue: 0
    }
}, { timestamps: true })